package com.letoken.platform.repo.app.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.letoken.platform.repo.app.po.Chinas;
import com.letoken.platform.repo.ecommerce.vo.ChinasRes;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.io.Serializable;
import java.util.List;

public interface ChinasMapper extends BaseMapper<Chinas> {



    @Select("select code,name from chinas where pid= #{pid} and level = #{level}")
    List<ChinasRes> selectLevelList(@Param("pid") Long pid , @Param("level") String level);
}
